package DAITINGTING.Football_basketball;

public class Basketball extends Ball{
    String zoubu;
    String play(int playerNum,int cpNum){
        String s=super.play();
        return s + "比赛运动员的人数为" + playerNum + "裁判人数为" + cpNum;
    }
    String play(int playerNum){
        String s=super.play();
        return s+"小场运动员人数是"+playerNum;
    }
    public Basketball(String name,String daxiao,String caizhi,String zhongliang,String renqun){
        super(name,daxiao,caizhi,zhongliang,renqun);
    }
    Basketball(String name,String daxiao,String caizhi,String zhongliang,String renqun,String zoubu){
        super(name,daxiao,caizhi,zhongliang,renqun);
        this.zoubu=zoubu;
    }
}
